﻿using Medical.Domain.Base;
using Medical.Domain.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Medical.Domain.Enum.DepartmentEnum;

namespace Medical.Domain.DepartmentInfo
{
    /// <summary>
    /// 领用申请表
    /// </summary>
    public class TouseTable: BaseEntity
    {
        /// <summary>
        /// 物品的Id
        /// </summary>
        public int ItemId { get; set; }  //物品的Id
        /// <summary>
        /// 申请单号
        /// </summary>
        public int ApplicationNumber { get; set; }
        /// <summary>
        /// 申请单位
        /// </summary>
        public ApplyingUnitEnum ApplyingUnit { get; set; }
        /// <summary>
        /// 发放单位(供应商)
        /// </summary>
        public SupplierEnum IssuingUnit { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime ApplicationTime { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public string Applicant { get; set; }
        /// <summary>
        /// 是否紧急
        /// 0:否   1:是
        /// </summary>
        public int Urgent { get; set; }
        /// <summary>
        /// 领用状态
        /// 1:新增  2:审核  3:接收
        /// </summary>
        public int TouseStatus {  get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
